package com.info33.platform.system.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.info33.platform.common.mvc.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统 - 日程参与者
 * 
 * @author admin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysScheduleParticipate extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "sys_schedule【工作日历 id】")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long scheduleId;

    @ApiModelProperty(value = "用户 id【sys_tenant_user】")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "参与人日程状态（0待办1已办）")
    private Integer participateStatus;

    @ApiModelProperty(value = "创建人日程状态（0待办1已办）")
    private Integer creatorStatus;

}